package cn.itcast.day13.demo03;

public class Demo04GenericInterface {

    public static void main(String[] argsg) {

        GenericInterfaceImpl1 gi1 = new GenericInterfaceImpl1();
        gi1.method("duhao2");

        GenericInterfaceImpl2<Integer> gi2 = new GenericInterfaceImpl2<>();
        gi2.method(10);

        GenericInterfaceImpl2<Double> gi3 = new GenericInterfaceImpl2<>();
        gi3.method(205.1);

    }
}
